{include file="/public/top" /}

<div class="pad">
<div class="breadNav">
  <div class="flt breadNav_text"> <span>会员</span><i></i><span>会员日志</span><i></i><span>用户充值</span> </div>
  <div class="frt breadNav_other">
    <div class="bn_input theme-pop-btn">
      <form method="get" action="{:url('user/czlog')}">
        <div class="bn_input">用户ID：
          <input type="text" name="id" value="{$idf}" class="text">
        </div>
        <div class="bn_input">
          <input type="submit" class="pub_btn" value="搜索">
        </div>
      </form>
	  <a  href="{:url('user/czlog',array('id'=>$idf,'state'=>'0'))}"  class="pub_btn">未处理</a>
	   <a  href="{:url('user/czlog',array('id'=>$idf,'state'=>'1'))}"  class="pub_btn">成功</a>
	    <a  href="{:url('user/czlog',array('id'=>$idf,'state'=>'2'))}"  class="pub_btn">失败</a>
      <div class="bn_input"></div>
    </div>
    <div class="clear"></div>
  </div>
</div>
<form target="zhuchuang_frm" method="post">
<div class="daemonTable">
  <table class="table_data daemon_data" cellpadding="0" cellspacing="0">
    <tbody><tr class="">
      <th class="w-100"> 序号 </th>
      <th class="w-100">用户ID</th>
	   <th class="w-50">订单号</th>
	  <th class="w-50">金额</th>
      <th class="w-50">类型</th>
      
      <th class="w-200">时间</th>
     <th class="w-200">状态</th>
      <th class="w-200"> 操作 </th>
    </tr>
	{volist name="log" id="vo"}
    <tr class="cred">
        <td>{$vo.id}</td>
        <td>【<a class="linkcl"  href="{:url('user/czlog',array('id'=>$vo['userid']))}">UID:{$vo.userid|membername}</a>】</td>
			<td>{$vo.number}</td>
        <td>{$vo.money}</td>
	
		<td>{$vo.paytype|paytype=###,$pay}</td>
        
        <td>{$vo.addtime}</td>
		<td>{if condition="$vo['state'] eq '0'"}  <font color='red'>待处理</font>{elseif condition="$vo['state'] eq '1'"} <font color='green'>成功</font>{else/}失败{/if}</td>
		 <td> {if condition="$vo['state'] eq '0'"}  <a  href="{:url('user/czlogcl',array('id'=>$vo['id'],'state'=>'1'))}"  class="pub_btn">成功</a><a  href="{:url('user/czlogcl',array('id'=>$vo['id'],'state'=>'2'))}" class="pub_btn">失败</a> {else/}已处理{/if}</td>
      </tr> {/volist}
	  
      </tbody></table>
</div>
  
<div class="daemonBot">
<div class="frt daemonPage">      {$log->render()}       </div>
  <div class="flt daemonBot_cz"> </div>
  <div class="frt daemonPage">  </div>
  <div class="clear"></div>
</div>
</form></div>
<div class="theme-popover">   
</div>
<div class="theme-popover-mask"></div>



</html>